package com.jingxuan.dto.response;

import java.math.BigDecimal;

import lombok.Data;

/**
 * 商品比价单项结果.
 */
@Data
public class ProductComparisonItemResponse {

    private String productId;

    private String productName;

    private BigDecimal price;

    private String platformName;

    private String imageUrl;

    private Integer salesQuantity;

    private Float applauseRate;

    /**
     * 综合基准得分，来自熵权权重.
     */
    private Double baseScore;

    /**
     * 用户偏好得分，强调价格等偏好.
     */
    private Double preferenceScore;

    /**
     * 标签匹配加成.
     */
    private Double tagBonus;

    /**
     * 最终得分.
     */
    private Double finalScore;

    /**
     * 排名（从1开始）.
     */
    private Integer rank;
}

